tests: Skip libarchive/selinux tests if in container without SELinux
authorColin Walters <walters@verbum.org>
Tue, 25 Oct 2016 14:40:45 +0000 (10:40 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 27 Oct 2016 16:48:34 +0000 (16:48 +0000)
commit82a4f56593207b2f8a5e6620e64d9c3fa65fbfcf
treee1e84ecc548373d2614d21d7cc5c775590d830e3
parent27f37b55bcd87ca156119dbbf3afb781dc81b430
tests: Skip libarchive/selinux tests if in container without SELinux

I'm doing builds and `make check` inside a Docker container, with
selinux on as a build-time option, but no policy in the container.
This currently aborts.  Let's not do that.

(This type of thing is why installed tests are a better model)

Closes: #546
Approved by: jlebon
tests/test-libarchive-import.c